package com.hx.learn.tx.spring.service;

import com.hx.learn.tx.spring.model.Book;

import java.util.List;

/**
 * @author jxlgcmh
 * @date 2020-05-17 17:23
 * @description
 */
public interface BookService {
    Book getBook(String bookName);

    Book getBookById(Integer id);

    List<Book> getAllBook();

    void insertBook(Book book);

    void updateBook(Book book);
}
